Current Limit Control with Current Limit Detector

ABSTRACT

Devices, such as mobile devices, may be exposed to short circuit and output overload events. To protect against such events, mobile devices typically include circuitry to limit currents so as not to exceed a pre-programmed current limit. Various embodiments of the present invention include devices and methods for detecting pre-programmed current limits and for limiting currents in response to such detection. In some embodiments, both the current limit detector and the current limit controller circuitry include scaled current switches. The scaling may be substantially similar between the programmed-current limit detector and the current limit controller circuitry.

REFERENCE TO EARLIER APPLICATION

This application claims the benefit of and incorporates by reference U.S. Provisional Applications, Ser. No. 60/829,310, filed Oct. 13, 2006, titled “Current Limit Control with Current Limit Detector” and Ser. No. 60/912,917, filed Apr. 19, 2007, titled “Current Limit Control with Current Limit Detector.”

FIELD OF THE INVENTION

The present invention relates generally to power management in mobile devices and more specifically to current limit controllers with an application in devices such as load switches.

BACKGROUND

Current limiting is the practice of imposing an upper limit on the current that may be delivered to a load. The typical purpose of current limiting is to protect the circuit up or downstream from harmful effects due to, for example, a short circuit. In load switch applications used in power sources and adapters, current may be limited below a load switch setting. Load switch applications include driving a power line of a universal serial bus (USB) connector to various peripheral devices. Examples of load switch devices include current limited load switch devices produced by Advanced Analogic Technologies, Inc. (Sunnyvale, Calif.) as integrated circuits (ICs) designed to protect external power ports and to extend battery life in portable electronic products. Such load switch devices operate with an integrated current limiting circuit that protects, for example, the input supply against large changes in load current which could otherwise cause the supply to fall out of regulation.

As current limited devices, load switches are able to draw current up to the load switch setting. If the current exceeds the load switch setting, the current limiting circuit in the load switch limits the current flowing through the load switch. Typically, a resistor (either external or internal to the IC) is used to set the load switch current limits. Typically, within an operating voltage range of fee load switch, a single current limit is set based on the resistive value chosen by the designer. One disadvantage of using a single resistor for a wide operating voltage range (and thus a wide range of load current) is loss of accuracy. This loss may occur, because the resistive value and tolerance typically determine the level of granularity of current increments detectable.

For example, in system design, a user selects a resistor having a resistive value, R_(SET). The user also defines a current limit to be associated with the resistive value, thereby establishing a one-to-one correspondence between the two parameters. The current limit is arbitrarily selectable by the designer and then controlled by a current limit controller.

Therefore, there is a need for improved design of current limit controllers. One desired aspect might be to allows for limiting the peak current that flows in a circuit so as not to exceed a predetermined current limit.

SUMMARY

The present invention is based, in part, on the foregoing observations and in accordance with its purpose various embodiments of the invention include devices and methods for limiting currents so as not to exceed a predetermined current limit. The current limit may be a user-determined current limit detected by a current limit detector. Generally, the various implementations of a device for detecting the current limit can use a single resistive device associated with a corresponding user-defined current limit. One implementation of a current limit controller includes current switches adapted to be turned ON and OFF in sequence to reduce and maintain the current in a controlled manner. The current switches may be scaled substantially the same as current switches included in the current limit detector. The proposed new implementations use an integrated circuit (IC) or a number of discrete components that are typically flexible and efficient in detecting current limits as well as limiting currents. To illustrate, a number of exemplary embodiments are explained in more detail below.

According to one embodiment, a device for controlling current limits with a current limit detector comprises: a current limit controller, a current limit detector, and a current limit portion. The current limit controller includes a current switch. The current limit detector is adapted to detect a user-defined current limit and to generate a signal associated with the user-defined current limit. The current limit portion includes an amplifier, a large scale transistor of a predetermined large scale, and a small scale transistor of a predetermined small scale. The ratio between the predetermined large and small scales is preset to control a ratio between a small scale current and a large scale current flowing to the small and large scale transistors, respectively. The small and large scale transistors are responsive to the signal from the current limit detector. The amplifier is adapted to regulate the large and small scale currents in response to a control signal from the current switch.

Such device may further include a resistor coupled to and interposed between the inputs of the amplifier and adapted to allow a differential current to flow through it. The differential current may be based on the small and large scale currents. The differential current flowing through the resistor may produce the differential input voltage. The resistor may include a current sensing resistor. The device may also include a current limit converter coupled to the output of the small scale transistor and operative to convert the small scale current to voltage.

In such device, the current limit controller may include a plurality of the current switch. The current switch may be sealed and may have a scale different from the predetermined large scale. The current limit detector may include one or more scaled current limit switches, and one of the scales of the scaled current limit switches may correspond to the scale of the current switch.

The control signal may be a sum of currents flowing through the plurality of current switches. The control signal may be associated with the user-defined current limit. Regulating the large and small scale currents may include reducing the large scale current to the user-defined current limit if the large scale current exceeds the user-defined current limit, and increasing the large scale current until it substantially reaches the user-defined current limit if the large scale current is below the user-defined current limit. The amplifier may include inputs. One of the inputs may be inverting and another one of the inputs may be non-inverting. For regulating the large and small scale currents, the amplifier may further be adapted to produce an output responsive to a differential Input voltage applied at its inputs. The amplifier may be further adapted to produce an output responsive to a differential input voltage applied at its inputs.

According to another embodiment, a method for controlling current limits with a current detector comprises: receiving, at a current limit controller, a signal from a current limit detector, and controlling a current. The signal is associated with a user-defined current limit. Controlling the current is performed to maintain it substantially below the user-defined current limit. Such controlling may be performed by regulating a large scale current and a small scale current flowing to, respectively, a large scale transistor and a small scale transistor and combining to produce the current. The regulating is performed by operating one or more current switches in the current limit controller in response to the received signal.

In such method, a ratio between the small and large scale currents may be preset based on a ratio between a predetermined scale associated with the small scale transistor and a predetermined large scale associated with the large scale transistor. Regulating the large and small scale currents may include reducing the large scale current to the user-defined current limit if the large scale current exceeds the user-defined current limit, and increasing the large scale current until it substantially reaches the user-defined current limit if the large scale current is below the user-defined current limit.

In such method, regulating the large and small scale currents may further be responsive to a differential input being applied at inputs of an amplifier. The one or more current switches may be scaled. The current limit detector may include one or more sealed current limit switches, and the scales of the one or more current limit switches may correspond to respective scales of the one or more current switches.

According to yet another embodiment, a device for controlling current limits comprises: a current switch, a small scale transistor of a predetermined small scale, a large scale transistor of a predetermined large scale, and an amplifier. The small scale transistor is adapted to conduct a small scale current and is operative to interrupt conduction of the small scale current when turned OFF. The large scale transistor is adapted to conduct a large scale current and is operative to interrupt conduction of the large scale current when turned OFF. The ratio between the predetermined large and small scales is preset to control a ratio between the small and large scale currents. The small and large scale transistors and the current switch are responsive to a sequence of signal from a current limit detector. The signal is associated with a user-defined current limit. The amplifier is adapted to regulate the large and small scale currents in response to a control signal from the current switch.

In these embodiments, various possible attributes may be present. The differential input voltage may be proportional to a difference between the large and small scale currents. The differential input voltage may be proportional to a difference between the large and small scale currents. Such regulating may further be gradual or fast depending on a gain of the operational amplifier. The device may be embodied in an IC or as a functional block in an IC. Such IC may also be adapted for use in a mobile device.

These and other embodiments, features, aspects and advantages of the present invention will become better understood from the description herein, appended claims, and accompanying drawings as hereafter described.

BRIEF DESCRIPTION OF THE DRAWINGS

The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate various aspects of the invention and, together with the description, serve to explain its principles. Wherever convenient, the same reference numbers will be used throughout the drawings to refer to the same or like elements.

FIG. 1A is a block diagram of a load switch application, according to one embodiment of the present invention.

FIG. 1B is a block diagram of another load switch application, according to one embodiment of the present invention.

FIG. 2 is a block diagram of a load switch application, including circuit details of a current limit controller, according to one embodiment of the invention.

FIG. 3 illustrates circuit details of a load switch device, according to one embodiment of the present invention.

DETAILED DESCRIPTION

Devices, such as mobile devices, may be exposed to short circuit and output overload events. It may therefore be advantageous to protect these devices with circuitry capable of detecting current limits and of limiting their supply current in response to such detection.

Accordingly, various embodiments of the invention include devices and methods for detecting current limits and for controlling output currents so as not to exceed the detected current limits. Such devices may include current switches in both the current limit detector and the current controller circuitry. Such current switches may be sealed, and the scaling may be substantially similar in the current limit detector and the current limit controller circuitry.

FIG. 1A is a block diagram showing the implementation of an application 100 with a load switch device 106, according to one embodiment of the invention. As shown, the application 100 includes a power supply 102 operatively coupled, via a universal serial bus (USB) port 104, to the load switch device 106. The load switch device 106 is in turn operatively coupled to a system load 112.

The power supply 102 is a device or system adapted to supply electrical energy to the USB port 104. Examples of power supplies 102 include batteries, direct current (DC) power supplies, chemical fuel cells, solar power, and other types of energy storage systems.

The load switch device 106 includes a current limit detector 108 and a current limit controller 110. The current limit detector 108 is operative to detect a current limit using a resistive device. The resistive device may be a resistor or any device capable of providing an electrical resistance (i.e., capable of opposing electrical current). The current limit detector 108 may include one or more comparators, resistors, and current switches (such as transistors) operatively connected and functioning to detect limits on the current. One embodiment of the current limit detector 108 is described in detail with reference to FIG. 3.

The current limit controller 110 is operative to receive the detected current limit from, the current limit detector 108 and to limit the current flowing through the load switch device 106. The current limit controller 110 may include a current limit converter, an operational amplifier, a resistor (such as a current sensing resistor), and transistors operatively connected thereto.

The system load 112 may be any device connected to the output of the load switch device 106. Examples of system loads 112 include a PCMCIA card, a compact hash card, and a camera flash LED.

FIG. 1B is a block diagram of another load switch application 116, according to one embodiment of the present invention. Application 116 includes the power supply 102, the load switch device 106, the system load 112, and a charge storage device 114. The power supply 102 is operatively coupled to the load switch device 106, which is operatively coupled to both the system load 112 and the charge storage device 114. As in application 100, the load switch device 106 includes the current limit detector 108 and the current limit controller 110.

The charge storage device 114 operates as an energy reservoir adapted to supply burst power. Examples of charge storage devices 114 include boost converters and energy storage devices such as supercapacitors. Generally, a boost converter is a voltage step-up converter that is often regarded as a switching mode power supply. Energy storage devices, unlike boost converters, are based on charge storage and may be used as a power source. A supercapacitor is a type of high-energy storage device designed to be charged and recharged repeatedly and to provide instantaneous high discharge currents with rapid recharge between discharge operations. The charge storage device 114 may also include a combination of boost converter, super capacitor, and any other type of energy storage device. In some embodiments, the charge storage device 114 may be disposed external to the load switch device 106. For example, it may be detachably coupled to the load switch device 106. In such embodiments, the charge storage device 114 is adapted to cooperate with and to supply burst power to the load switch device 106.

FIG. 2 is a block diagram of a load switch application 200, including circuit details of a current limit controller, according to one embodiment of the invention. The load switch application 200 includes the power supply 102, the current limit detector 108, current switches T10-T14, the system load 112, and the charge storage device 114. The power supply 102 is operatively coupled to T12 as well as to the system load 112 and to the charge storage device 114. The current limit detector 108 is operatively coupled to the gate of each of T10, T12-T14. The sources of T10, T12-T14 are operatively coupled to the system load 112 and to the charge storage device 114. The input of T11 is operatively coupled to the current limit detector 108, and the output of T11 is operatively coupled to the system load 112. The current switches T10-T14 may be, for example, transistors.

The current limit detector 108 is adapted to output a signal representative of the detected current limit This signal is adapted to control which of current switches T10, T12-T14 are to be turned ON and which are to be turned OFF. The signal may include, for example, four current switch control signals, each operative to turn ON and OFF respectively T10, T12, T13, and T14. If T12 alone is turned ON, the output current, I_(OUT), may be limited to the current, I12, flowing through T12. If T12 and T13 are both turned ON, I_(OUT) may be limited to the sum of the current I12 and I13, and so forth. The current switch control signals may be adapted to reduce I_(OUT) to substantially at or below the detected current limit in one or more steps. To that end, in one embodiment, the current limit detector 108 may include delay elements, and the number of current switch control signals may be associated with the number of delay elements. The delay elements are described in further detail with reference to FIG. 3.

The current switch T11 may be a current mirror to the current switch T10. For example, in this embodiment, the current switch T10 may be a large scale transistor adapted to conduct a large scale current I10, and the current switch T11 may be a small scale transistor adapted to conduct a small scale current I11. T10 may be scaled 1× and T11 may be scaled 0.002×. The currents I10 and I11 have a substantially fixed ratio between them determined by the size ratio of T10 and T11. That size ratio may be 500(1/0.002=500). T10 is thus a current mirror to T11 and magnifies the small scale current, I11, by a factor of 500.

Size matching may be important to match transistor criteria, for transistor scaling (i.e., decreasing device dimensions), and the like. Transistors of a particular scale (i.e., size) are typically laid out in the same region on the integrated circuit (IC) die.

In one embodiment, the current limit detector 108 also includes current switches adapted to turn ON and OFF current paths in the current limit detector. The design of the current limit detector 108 and the current limit controller 110 may then be interrelated. For example, each current switch control signal output from the current limit detector 108 may represent a relationship between a current path in the current limit detector 108 and one of the currents I12-I14, I10. A particular current switch control signal may, for example, turn ON T10 if the corresponding current switch in the current limit detector 108 is turned ON.

In one embodiment, the current limit detector 108 may include four current paths, each including a current switch T1-T4 adapted to turn ON and OFF a current I1-I4 flowing on the respective current path. Such currents I1-I4 may be scaled in proportion to their corresponding current switches, e.g., respectively, 1×, 1×, 2×, and 4× being 1 μA, 1 μA, 2 μA, and 4 μA, respectively. In one embodiment, the current switches T10, T14, T13, and T12 may likewise be scaled 1×, 1×, 2×, and 4×. In such an embodiment, I10 may correspond to I1 (both scaled 1×), I14 to I2 (also both scaled 1×), I13 to I3 (both scaled 2×), and I14 to I2 (both scaled 4×).

In some load switch applications 200, the current limit detector 108 may be of a different implementation, for example, may not include current paths corresponding to current switches T10, T12-T14. Such embodiments may nevertheless include scaled transistors T10, T12-T14, each responsive to the current switch control signals output from the current limit detector 108. The correspondence between the current switch control signals and the respective current switch T10, T12-14, to be turned ON and OFF in response thereto may in such embodiments be user defined.

FIG. 3 illustrates circuit details of a load switch device 300, according to one embodiment of the present invention. The load switch device 300 comprises a current limit detector 302, a current limit portion 304, a current limit controller 306, the system load 112, and the charge storage device 114.

The current limit converter 310 is operative to convert voltage to current. The current limit converter 310 may be used to charge circuits as shown in FIG. 3 or any load switch device.

The current limit controller 306 is operatively coupled to the current limit detector 302, to the current limit portion 304, as well as to the system load 112 and the charge storage device 114. The current limit controller 306 is operative to, upon receiving the detected current limit from the current limit detector 302, control the current, I_(OUT), output to the system load 112 and to the charge storage device 114 so as not to exceed the detected current limit. Such limitation may be performed in a controlled manner, for example, in incremental steps, substantially as described with reference to FIG. 2. Such manner may be gradual or fast depending on, for example, the number of delay elements included in the current limit detector 302 as further described below. The current limit controller 306 may include scaled transistors T12, T13, and T14 (FIG. 2). In this embodiment, T12 is scaled 4×, T13 is scaled 2×, and T14 is scaled 1×. The size ratio between the scaled transistors may correspond to the respective ratios of the current switches T1-T4. For example, T12 may be scaled 4× corresponding to the scaling of T4 relative to T1 (4 μA vs. 1 μA).

The current limit portion 304 includes the current limit converter 310, an operational amplifier 314, transistors T10 and T11, and a current sensing resistor R_(S). The transistors T10 and T11 are scaled. In this embodiment, T10 is scaled 1× and T11 is scaled 0.002×.

In operation, if the current, I11, flowing through T11 is greater than the current limit, I_(LIM), of the current limit converter 310, the operational amplifier 314 tries to reduce the current, until I11 substantially equals I_(LIM). If I11 is below I_(LIM), the operational amplifier 314 substantially maintains I11 at or below I_(LIM). The value of I_(LIM) may be, for example 500×I11.

In the illustrated embodiment, R_(S) is connected between the inverting and the non-inverting inputs of the operational amplifier 314. As described, the operational amplifier 314 receives I11 at its non-inverting input and I10 (e.g., I_(OUT) of FIG. 2) at its inverting input. The differential input voltage to the operational amplifier 314 is therefore R_(S)·(I11−I10). The operational amplifier 314 is operative to output a current responsive to the differential input voltage. Such output current is fed back to the respective gates of T10 and T11.

The current limit control portion 304 in conjunction with the current limit controller 306 essentially perform the function of a pass element. Generally, a pass element is a controlled variable resistance device. It may be driven by an amplified error signal and be operative to increase its resistance when the output current, I_(OUT), is to be lowered and to decrease its resistance when the output current is to be raised. As may be seen from FIG. 3, the error signal may be the difference between currents I11 and I10. The amplification of such error signal may be performed via the gain of the operational amplifier 314 alone or in combination with the size ratio of T10 and T11. Whether the output current is to be raised or lowered depends on the relationship between the current limit, I_(LIM), flowing to the current limit converter 310 and the small scale current, I11.

Briefly, if the small scale current, I11, is greater than the current limit, I_(LIM) , the operational amplifier 314 tries to reduce the current until I11 substantially equals I_(LIM). The reduction may be obtained by turning OFF the small scale transistor T11. If I11 is below I_(LIM), the operational amplifier 314 substantially maintains I11 at or below I_(LIM). Such maintaining may be obtained by turning both transistors T10 and T11 ON, resulting in a higher current.

More specifically, if the small scale current, I11, is greater than the current limit, I_(LIM), the balance of current (i.e., I11−I10) flows via R_(S). The differential input voltage to the operational amplifier becomes (I11−I10)×R_(S), which triggers the operational amplifier 314 to reduce the current until I11 substantially equals I_(LIM). The output current from the operational amplifier 314 thus causes the transistor T11 to be turned OFF, which reduces the current output from T11. This reduction may occur gradually or last depending on, at least in part, the gain of the operational amplifier 314, in some embodiments, a faster turn-off may be advantageous.

If I11 is below I_(LIM), the output current from the operational amplifier 314 may cause T10 and T11 to be turned ON, thereby exhibiting low resistance and in turn increasing I11. This may cause I11 to be substantially maintained at or below I_(LIM). The value of I_(LIM) may be, for example, 500×I11. The net effect is that the load switch device 300 regulates the current to decrease to I_(LIM) and to thereafter remain substantially at or below I_(LIM).

The output current is thus controlled by the current limit controller 306 so as not to exceed the detected current limit. The current limit is detected by the current limit detector 302 and may be a user-defined current limit. The user-defined current limit may be chosen based on, for example, a predetermined power limit value of power dissipated across the pass element 304, 306. Collectively, the elements of the load switch device 300 cooperate to control the power and thus the current flowing in the pass element 304, 306 (i.e., currents I10, I11), which in turn regulates the output current, I_(OUT), flowing to the system load 112, the charge storage device 114, or both.

The resistor, R_(S) , may be a current sensing resistor adapted to translate current into a voltage. In general, current sensing resistors are designed for low resistance so as to minimize power consumption. The calibrated resistance senses the current flowing through it in the form of a voltage drop, which may be detected and monitored by control circuitry (e.g., by the operational amplifier 314).

The current limit detector 302 may be substantially similar to the current limit detector 108 of FIGS. 1A-B, 2. The current limit detector 302 may be implemented in various ways. Circuit details of one implementation 302 are shown in FIG. 3. Such implementation includes two comparators COMP1, COMP2, a current limit detect and control component 312, four current paths I1-I4, three current switches T2-T4, three resistors R1-R3, a supply voltage terminal, S, a low reference voltage terminal, L, a high reference voltage terminal, H, and a resistive device, R_(SET). Such implementation 302 may be designed to Improve the accuracy of the current limit detector in a particular operating voltage range by magnifying the entire operating voltage range.

In one embodiment, as illustrated in Table 1, the operating voltage range is 0.75 V to 1.5 V. Table 1 illustrates the relationship between a resistive value of a resistive device, R_(SET), and a corresponding user-defined current limit. By increasing the resistive value by four orders of magnitude (2⁴=16), from 93.75 kΩ to 1.5 MΩ the current limit is likewise increased by a magnitude of four, from 75 mA to 1.2 A.

TABLE 1 Relationship between resistive value and corresponding user-defined current limit. User-Defined Signal I_(SET) Current Limit R_(SET) V_(SET) = I_(SET) × R_(SET) EN8 = S1 1 μA  1.2 A 1.5 MΩ  1.5 V 1 μA 600 mA 750 kΩ 0.75 V EN4 = S1 + 2 μA 600 mA 750 kΩ  1.5 V S2 2 μA 300 mA 375 kΩ 0.75 V EN2 = S1 + 4 μA 300 mA 375 kΩ  1.5 V S2 + S3 4 μA 150 mA 187.5 kΩ 0.75 V EN1 = S1 + 8 μA 150 mA 187.5 kΩ  1.5 V S2 + S3 + 8 μA  75 mA 93.75 kΩ 0.75 V S4

The range is divided into multiple segments. In each segment, a user-defined resistive value, R_(SET), is associated with a user-defined current limit. Although there are multiple segments, each with the same operating voltage range, a one-to-one relationship is maintained between the chosen resistive value and the defined current limit.

In a first segment, the system designer has selected a resistive value of 93.75 kΩ to be associated with a current limit of between 75 mA and 150 mA. In a second segment, a resistive value of 187.5 kΩ has been selected to be associated with a current limit of between 150 mA and 300 mA. The resistive values and associated current limits are user-defined and may be chosen according to any scheme so long as there is no overlap between segments, i.e., so long as the one-to-one relationship is maintained between R_(SET) and the current limit. This enables proper transition between segments. In Table 1, for each segment, the resistive value as well as the current limit is doubled. In other embodiments, as between segments, the resistive value, the current limit or both may be logarithmically or exponentially related. For example, the first and second segments may include R_(SET) of ln(93750) and ln(187500)Ω, respectively. The associated current limits may be selected according to a logarithmic pattern, any other patterns, or even randomly. By magnifying the operating voltage range, and hence also the operating current range, the resolution and accuracy may be increased.

In operation, typically upon power-up, a load switch device that includes a current limit detector scheme according to Table 1 will detect the current limit. Assume, for example, that the resistive value is 1.5 MΩ. At start-up, the current, I_(SET), flowing through the current limit detector may be such that the voltage, V_(SET)=R_(SET)×I_(SET), is greater than the upper operating voltage, i.e., greater than 1.5 V. If so, the current limit detector may respond by reducing the current, I_(SET). Such reduced current flowing through the current limit detector may nonetheless produce a voltage, V_(SET), across the resistive device that is greater than 1.5 V. If so, the current, I_(SET), may be reduced further. Once the voltage produced is below 1.5 V, the current is not reduced further, because the current limit detector is then operating within the operating voltage range. At such time, the current, I_(SET), indicates what the corresponding current limit is, i.e., based on the relationship between I_(SET) and the current limit, determination of I_(SET) also establishes the current limit. The current limit may, for example, have been stored into memory within the load switch device. The current limit thus detected may then be communicated to a current limit controller coupled to the current limit detector. The current limit controller may thereafter limit the current to below the current limit and maintain it at or below that level.

The current limit is typically detected once after installation or set-up of the system or device in which the load switch device is incorporated or to which it is otherwise operationally coupled. Thereafter, the current limit is typically not detected anew until power is recycled, for example, when the load switch application is re-started, such as upon power-up, wake-up, and the like. Then, the current limit detector is typically dormant, i.e., not performing its current detection functionality.

The total detection current, I_(SET), flowing through the load switch device may be changed in one or more steps. The embodiment illustrated in Table 1 allows for step-wise detecting the current limit by step-wise decreasing the total current flowing. Such step-wise detection may be obtained by including multiple current paths in the load switch device, where I_(SET) comprises the sum of the currents flowing on each of the current paths. Also, each current path may include a current switch (e.g., a transistor T1, T2, T3, T4) which can cause the current on that path to start or stop flowing as the respective transistor is turned ON or OFF. The embodiment outlined in Table 1 includes four current paths. The signals to turn ON the transistors (T1 T2, T3, and T4) are denoted S1, S2, S3, and S4, respectively. A state of the load switch device is the status of the signals controlling the transistors, i.e., the set {S1, S2, S3, S4}. An enable signal (EN) defines the state, i.e., which of the individual signals are activated. The current, I1, flowing on the current path whose transistor T1 is controlled by signal S1 is 1 μA. The currents I2, I3, and I4 flowing on the current paths with transistors T2, T3, and T4, respectively, are 1 μA, 2 μA, and 4 μA, respectively. Note that the embodiment 302 illustrated in FIG. 3 includes no current switch T1 adapted to turn ON and OFF current flowing on current path I1 in response to an S1 signal.

Returning to Table 1, for example, a first enable signal (EN1) may be defined as S1+S2+S3+S4. When turned ON, the transistors T1-T4 allow the associated current I1-I4 to flow, and when tamed OFF, the transistor T1-T4 interrupts the current flowing on the associated current path. Thus, EN1 may cause all four transistors to be turned ON. In this ease, the total current of 8 μA consists of a sum of currents I1, I2, I3 and I4 which flow through transistors T1-T4 when turned ON by the signals S1-S4. As noted, the current limits are user defined. If the designer chooses the resistive value, R_(SET), as 93.75 kΩ, the current limit is set, per Table 1, at 75 mA. If the designer chooses the resistive value as 187.5 kΩ, the current limit is set at 150 mA. The designer may set the current limits, for example, based on one or more applications for the load switch device in which the current limit detector is to be incorporated.

The step-wise current limit detection may be obtained by, in a first step, activating all of S1-S4, causing the total detection current, I_(SET), to initially be 8 μA. Thereafter, in a second step, S4 may be deactivated, causing the total current to be limited to 4 μA (i.e., to I1+I2+I3=1 μA+1 μA+2 μA). In a third step, S3 may be also deactivated, causing the total current to be limited to I1+I2, i.e., 2 μA. Further step-wise decrease may be obtained by deactivating S2 and thereafter S1, causing the current to be decreased to I1 (i.e., 1 μA) and thereafter to 0 μA or to substantially 0 μA (e.g., with bias currents alone or with no bias currents). Other step-wise decreases are possible. Various other sequences of step-wise decreases, and thus step-wise detection of the current limit, are possible. Such step-wise detection may further include various levels of step granularity or current increments.

Typically, an embodiment includes a single resistive device of a single resistive value. Therefore, typically only the parameters in one of the rows of Table 1 are applicable to any one embodiment. Other embodiments, are possible. For example, an embodiment may include two or more resistive devices operating in parallel. Such embodiment may allow for a user application to select between the resistive devices via, for example, & select signal output from the user application.

The current limit detect and control component 312 may include delay elements FF1-FF3 (not shown in FIG. 3). The outputs of the delay elements FF1-FF3 may be fed to the current limit controller 306.

The delay elements FF1-FF3 may be operatively coupled to each other in series and operative to, serially, maintain a sequence of states. The output of a particular delay element (e.g., FF1) may be adapted to cause a change to the state of a delay element that follows it in the series (e.g., FF2). Each state may define which of the one or more transistors included in the current limit controller 306 are to be turned ON and which are to be turned OFF. The delay elements may be flip-flop registers (FFs). Examples of FFs include D-FFs and JK FFs.

Including the delay elements allows for the current limit detector 302 to remember a sequence of a length which is based on the number of FFs included. In the illustrated embodiment, the current limit detector 302 includes three FFs (i.e., FF1, FF2, and FF3) operatively coupled, for example, to COMP1, and thus the current limit detector is adapted to remember a sequence of length three (with respect to the operation of COMP1). In alternative embodiments, more or fewer delay elements may be included. As the number of delay elements increases, so does the length of the sequences that may be remembered and, in turn, the obtainable current resolution. For example, in an embodiment including the enable signal EN1 defined as in Table 1, the sequence of states allows for a step-wise decrease of I_(SET) from a first state in which 8 μA (all of I1-I4) is flowing to a second state in which 4 μA (I1-I3 but not I4) is flowing and from the second to a third state in which 2 μA (I1 and I2 but not I3 and I4) is flowing.

Values, such as the 1.5 V reference voltage, i.e., the high threshold voltage (or state trip point) associated with COMP 1, the low reference voltage 0.75 V associated with COMP2, or both, may vary because of resistor tolerance (e.g., of one or more of the resistors R1-R3). Examples of resistor tolerance include 5%, 10%, and more. These values may further vary due to variations in rail voltage (i.e., voltage provided by the supply, such as the power supply 102). In the embodiment of FIG. 3, the rail voltage is 2.0 V.

Various configurations of the embodiments disclosed herein are possible. For example, the transistors (e.g., T2-T4, T10-T14) may include field effect transistors (FETs), such as junction FETs (JFETs), metal oxide semiconductor FETs (MOSFETs), or any combination thereof. The transistors may also include bipolar junction transistors (BJTs), in which case the earlier reference to gate (the term for FETs) corresponds to an emitter (the term for BJTs). The current limit portion 304 may include a resistor other than a current sensing resistor (e.g., R_(S)); however, In some configurations, this may result in less than optimal performance. For example, the power consumption may be less than optimally minimized, a higher number of components may need, to be used, or the like. In some embodiments, the charge storage device 114 may be external to and adapted to cooperate with the load switch device 300.

The load switch device 300 or portions thereof may be implemented in a number of ways. It may be implemented using discrete components or, preferably, it may be embodied in an IC or as a functional block in an IC. Such IC may further be adapted for use in a mobile device. Examples of mobile devices include laptops, cell phones, personal digital assistants (PDAs), game boys, other battery-operated toys, and the like.

In sum, although the present invention has been described in considerable detail with reference to certain preferred versions thereof, other versions are possible. Therefore, the spirit and scope of the appended claims should not be limited to the description of the preferred versions contained herein. 

1. A device for controlling current limits with a current limit detector, comprising; a current limit controller including a current switch; a current limit detector adapted to detect a user-defined current limit and to generate a signal associated with the user-defined current limit; and a current limit portion including an amplifier, a large scale transistor of a predetermined large scale and a small scale transistor of a predetermine small scale, wherein a ratio between the predetermined large and small scales is preset to control a ratio between a small scale current and a large scale current flowing to the small and large scale transistors, respectively, the small and large scale transistors and the current switch being responsive to the signal from the current limit detector, the amplifier being adapted to regulate the large and small scale currents in response to a control signal from the current switch.
 2. A device as in claim 1, wherein the current limit controller includes a plurality of the current switches, and wherein the control signal is a sum of currents flowing through the plurality of current switches.
 3. A device as in claim 1, wherein the control signal is associated with the user-defined current limit.
 4. A device as in claim 1, wherein regulating the large and small scale currents includes, if the large scale current exceeds the user-defined current limit, reducing the large scale current to the user-defined current limit.
 5. A device as in claim 1, wherein regulating the large and small scale currents includes, if the large scale current is below the user-defined current limit, increasing the large scale current until it substantially reaches the user-defined current limit.
 6. A device as in claim 1, wherein the amplifier is an operational amplifier that includes inputs, and wherein for regulating the large and small scale currents the amplifier is further adapted to produce an output responsive to a differential input voltage applied at its inputs, the differential input voltage being proportional to a difference between the large and small scale currents.
 7. A device as in claim 6, further comprising a resistor coupled to and interposed between the inputs of the amplifier and adapted to allow a differential current to flow through it, the differential current being based on the small and large scale currents, the differential current flowing through the resistor producing the differential input voltage.
 8. A device as in claim 7, wherein the resistor includes a current sensing resistor.
 9. A device as in claim 1, wherein the amplifier includes inputs and wherein for regulating the large and small scale currents the amplifier is further adapted to produce an output responsive to a differential input voltage applied at its inputs, the differential input voltage being proportional to a sum of the large and small scale currents.
 10. A device as in claim 1, wherein regulating the large and small scale currents is carried out at a pace that depends on a gain of the amplifier.
 11. A device as in claim 1, further comprising a current limit converter coupled to the output of the small scale transistor and operative to convert the small scale current to voltage.
 12. A device as in claim 1 embodied in an integrated circuit (IC) or as a functional block in the IC.
 13. A device as in claim 12, wherein the IC is adapted for use in a mobile device.
 14. A device as in claim 1, wherein the current switch is scaled and has a scale different from the predetermined large scale.
 15. A device as in claim 1, wherein the current switch is scaled, and wherein the current limit detector includes one or more scaled current limit switches, one of the scales of the scaled current limit switches corresponding to the scale of the current switch.
 16. A method for controlling current limits with a current limit detector, comprising: receiving, at a current limit controller, a signal from a current limit detector, the signal being associated with a user-defined current limit; and controlling a current to maintain it substantially below the user-defined current limit by regulating a large scale current and a small scale current flowing to, respectively, a large scale transistor and a small scale transistor and combining to produce the current, wherein the regulating is performed by operating one or more current switches in the current limit controller in response to the received signal.
 17. A method as in claim 16, wherein a ratio between the small and large scale currents is preset based on a ratio between a predetermined scale associated with the small scale transistor and a predetermined large scale associated with the large scale transistor.
 18. A method as in claim 16, wherein regulating the large and small scale currents includes, if the large scale current exceeds the user-defined current limit, reducing the large scale current to the user-defined current limit.
 19. A method as in claim 16, wherein regulating the large and small scale currents includes, if the large scale current is below the user-defined current limit, increasing the large scale current until it substantially reaches the user-defined current limit.
 20. A method as in claim 16, wherein regulating the large and small, scale currents is further responsive to a differential input voltage being applied at inputs of an amplifier, the differential input voltage being proportional to a difference between the large and small scale currents.
 21. A method as in claim 16, wherein the differential input voltage is proportional to a difference between the large and small scale currents.
 22. A method as in claim 16, wherein regulating the large and small scale currents is carried out at a pace that depends on a gain of the amplifier.
 23. A method as in claim 16, wherein the one or more current switches are sealed and at least one of them has a scale different from the predetermined large scale.
 24. A method as in claim 16, wherein the one or more current switches are scaled, and wherein the current limit detector includes one or more seated current limit switches, the scales of the one or more current limit switches corresponding to respective scales of the one or more current switches.
 25. A device for controlling current limits, comprising: a current switch; a small scale transistor of a predetermined small scale adapted to conduct a small scale current and operative to interrupt conduction of the small scale current when turned OFF; a large scale transistor of a predetermined large scale adapted to conduct a large scale current and operative to interrupt conduction of the large scale current when turned OFF, wherein a ratio between the predetermined large and small scales is preset to control a ratio between the small and large scale currents, the small and large scale transistors and the current switch being responsive to a signal from a current limit detector associated with a user-defined current limit; and an amplifier adapted to regulate the large and small scale currents in response to a control signal from the current switch. 